package com.xm.shop.swagger;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author ludi
 * @date:2020/9/10 15:41
 * @description:配置自定义属性
 */

@ConfigurationProperties(prefix = "xm.swagger")
public class SwaggerProperties {
    private String title="项目名";
    private String description = "项目描述";

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
